package com.simpleframe.views.ui;

import com.simpleframe.views.components.Component;
import com.simpleframe.views.components.Out;


public class OutTag extends ComponentTagSupport {
	
	private static final long serialVersionUID = 2074596370942301565L;

	protected String value;
	protected Integer length;
	protected Boolean html;
	
	public Component getModelBean() {
		return new Out();
	}
	
	@Override
	protected void populateParameters() {
		super.populateParameters();
		Out out = (Out)component;
		out.setValue(value);
		out.setLength(length);
		out.setHtml(html);
	}

	public void setValue(String value) {
		this.value = value;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public void setHtml(Boolean html) {
		this.html = html;
	}
	
}
